#define _CRT_SECURE_NO_WARNINGS 1
#include"AllSort.h"
#include"Stack.h"
void TestSortAll() {
	int arr[] = { 5,9,8,7,3,1,6,4,2,0,12,43,68,57,92};
	InsertSort(arr, sizeof(arr) / sizeof(arr[0]));
	ShellSort(arr, sizeof(arr) / sizeof(arr[0]));
	SelectSort(arr, sizeof(arr) / sizeof(arr[0]));
	HeapSort(arr, sizeof(arr) / sizeof(arr[0]));
	BubbleSort(arr, sizeof(arr) / sizeof(arr[0]));
	QuickSort(arr, 0, sizeof(arr) / sizeof(arr[0])-1);
	QuickSortNonR(arr, sizeof(arr) / sizeof(arr[0]));
	MerageSort(arr, sizeof(arr) / sizeof(arr[0]));
	MerageSortNonR(arr, sizeof(arr) / sizeof(arr[0]));
	PrintArr(arr, sizeof(arr) / sizeof(arr[0]));
}
int main() {
	TestSortAll();
	return 0;
}